{if condition ="strtolower(request()->controller()) == 'news' && strtolower(request()->action()) == 'index'"}
<!--新闻列表-->
{volist name="dataList" id="vo"}
<a href="{:url('News/detail',array('id'=>$vo['id']))}">
    <li>
        <div>{$vo.title}</div>
        <div>
            {if condition="$vo['imgpath']"}
            {volist name="$vo.imgpath" id="v1"}<img src="{$v1}">{/volist}
            {/if}
        </div>
        <div>
            <span>
                <img src="__STATIC__/wechat/news/images/browse.png">
                <span>{$vo['browse_actual']}</span>人
            </span>
            <span>{$vo.create_time|date="Y-m-d H:i",###}</span>
        </div>
    </li>
</a>
{/volist}
{/if}

{if condition ="strtolower(request()->controller()) == 'news' && (strtolower(request()->action()) == 'reviewlist' || strtolower(request()->action()) == 'thumb')"}
<!--新闻详情页评价-->
{volist name="dataList" id="vo"}
<div class="list" data-pid="{$vo.id}">
    <div class="listtp">
        <span><img src="{$vo.headimgurl}"/>{$vo.nickname}</span>
        <span>{$vo.create_time|date='Y-m-d H:i',###}</span>
    </div>
    <div class="listmid">
        <p>{$vo.content}</p>
        <p class="zan {if condition=" $vo.has_thumb !=0"}haszan{/if}">
            {if condition="$vo.has_thumb neq 0"}
            <img src="__STATIC__/wechat/news/images/yeszan.png">
            {else/}
            <img src="__STATIC__/wechat/news/images/nozan.png">
            {/if}
            <span>{$vo.thumb}</span>
        </p>
    </div>
</div>
{/volist}
{/if}